package com.luyu.util;

import com.luyu.tenant.TenantContextHolder;


public class RedisKeyUtil {

    // 用户临时信息上下文
    public static  String getTempUserInfoKey(){
        return  generateTempUserInfoKey(UserContextUtil.getUserName(),TenantContextHolder.getTenantId()) ;
    }
    
    public static  String generateTempUserInfoKey(String userName,Long tenantId){
        return String.valueOf(tenantId);
    }







    
    
    


}
